home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / misc / geoclock / geoham.doc < prev    next >
Text File  |  1995-11-17  |  22KB  |  508 lines

  1. GEOCLOCK (TM) 7.1, 95/11/27,(C) 1995 Joseph R Ahlgren, BBS 703-241-7980
  2.  
  3.  7.  HAM package
  4.  
  5.   The HAM package is an add-in to the registered version of GeoClock.  It
  6. supports a variety of features to support HAM, SWL, and DX operators, and
  7. includes a custom Equidistant-Azimuthal (Great Circle) projection map
  8. centered on your location.
  9.  
  10.  7.  HAM package
  11.  7.1  HAM package features
  12.  7.2  Starting the HAM package
  13.  7.3  HAM CD-ROM
  14.  7.4  Call Sign Analysis
  15.  7.5  Use of other GeoClock features
  16.  7.6  Twilight zone definition
  17.  7.7  HAM data base
  18.  7.8  Support
  19.  7.9  Call Sign Analysis Algorithm
  20.  
  21.  
  22.  
  23.  7.1  HAM package features
  24.  
  25.   The GeoClock HAM package activates several new features of particular
  26. interest to amateur radio operators and short-wave listeners. These
  27. include:
  28.  
  29. Azimuthal-Equidistant (Great Circle) maps.
  30.  
  31. Day, night, and twilight zone display:
  32. - Twilight zone parameters can be set to indicate boundaries of sun
  33.   illumination on the F- and D-layers of the ionosphere.
  34.  
  35. Amateur radio call sign analysis (based on a user-maintainable call sign
  36. data base).  When a call sign (or prefix) is entered, the following
  37. information is displayed:
  38. - Remote station location
  39. - short and long great circle path
  40. - short and long path azimuth and range
  41. - remote station (reciprocal) azimuth
  42. - UTC, local, and remote station local time
  43. - DXCC and WAE country identifications
  44. - CQ and ITU zones
  45. - Continent, area, and location names
  46.  
  47.   The package has three major components: a custom Azimuthal-Equidistant
  48. map centered on your station; a call sign data base, and a utility program
  49. to process the text call sign data base into the GeoClock form. Your
  50. registered copy of GeoClock will use this data base to overlay HAM data on
  51. the custom map.
  52.  
  53.    The custom Azi-Equi map centered on your location is named MAP9009.EGA. 
  54. A custom GEO9009.DAT file is also provided to control the display of HAM
  55. data.
  56.  
  57.    If the optional QRZ or Buckmaster HamCall (April 95 and earlier) CDROM
  58. is online, the GeoClock HAM package will use the CDROM to provide very
  59. accurate coordinates and headings for US call signs in the data base.
  60.  
  61.    These features are provided in addition to the other features of
  62. GeoClock.
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  7.2  Starting the HAM package
  71.  
  72.    To start the HAM package, enter "GEOCLK MAP9009" at the DOS prompt. 
  73. The program will start with your custom map and an indication of the sun
  74. and terminator locations.  In the present release, ham features are
  75. activated only on the custom map.
  76.  
  77.    TIP:  Edit your GECONFIG.DAT file with an ASCII text file editor and
  78. add the command "MAP 9009" as the last line of this file.  You will now be
  79. able to start the GeoClock program by simply entering GEOCLK at the DOS
  80. prompt.  GeoClock will then start up automatically with your custom map
  81. displayed.
  82.  
  83.   You should see a color Equi-Azi map displayed on your screen against a
  84. black background.  Your location at the center of the map is shown with a
  85. cross symbol.  Around the edge of the map are tick marks for every 10
  86. degrees of azimuth.  In the bottom right corner, your name, call sign, and
  87. location will be displayed.  In the bottom left corner two clock lines will
  88. be displayed: GMT clock and local time at your location.  The format of
  89. clock information can be tailored to suit your taste in clock style.  See
  90. the "commands" section of the help system.
  91.  
  92.   In a few seconds (depending on the speed of your computer), the current
  93. sunlight, night, and twilight zones will be displayed.  A yellow "sun" will
  94. appear at the current sun subpoint (i.e., the spot on Earth where the sun
  95. is currently directly overhead).  GeoClock will continue to adjust the
  96. display to keep up with real time, at a rate dictated by the processing
  97. power of your computer.  The date/time of the present display is shown on
  98. the clocks in the lower left corner.
  99.  
  100.   Note: The rate of updates can be slower (approximately half as fast for
  101. the worst case) whenever the boundaries of the twilight zone approach the
  102. edges of the Equi-Azi map.  This is because a larger number of calculations
  103. are required in order to accurately display the twilight zone boundary
  104. around the map edge. GeoClock automatically adjusts to this condition in
  105. order to insure that the map display remains accurate.
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  7.3  HAM CD-ROM
  114.  
  115.    If your computer has a CD-ROM drive, and the QRZ or Buckmaster HamCall
  116. (April 95 and earlier) CDROM is on line, GeoClock can use the database on
  117. the CD-ROM to provide very accurate locations (within a few km) and bearing
  118. for US call signs in the Data Base.  In addition, the name and home town of
  119. the owner of the call sign is displayed when the call sign is keyed in. 
  120. This feature is activated automatically if the  HAMCD  command is in
  121. GECONFIG.DAT.  If the CD-ROM drive is on a network or otherwise non-
  122. standard, that command can be used to specify the exact path and file name
  123. of the data base.  
  124.  
  125. IMPORTANT: Starting with the October 1995 issue, the BuckMaster CD-ROM is
  126. not compatible with GeoClock because the publisher deleted the file that
  127. GeoClock uses.
  128.  
  129. You can obtain the QRZ CDROM at retail or directly from the publisher:
  130.  
  131. QRZ Ham Radio CDROM
  132. Walnut Creek CDROM
  133. 1547 Palos Verdes Mall, #260
  134. Walnut Creek  CA  94596
  135. Voice: 800-786-9907 or 510-674-0783
  136. FAX: 510 674-0821
  137. Internet:  info@cdrom.com
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  7.4  Call Sign Analysis
  145.  
  146.    To activate call sign analysis, simply begin to type in the letters and
  147. numbers of the amateur radio call sign of interest.  When the first key is
  148. depressed, a window pops open and the call sign you are typing is displayed
  149. in the window.  Backspace and cursor keys may be used to correct any typing
  150. errors.  When the call sign has been completely entered, press the RETURN
  151. key.
  152.  
  153.   To abort call sign entry, press the ESCape key.  To clear the call sign
  154. display, press any letter, then BACKSPACE and RETURN.
  155.  
  156.   You do not need to enter an entire call sign.  GeoClock will operate on
  157. call sign prefixes.  However, GeoClock contains over 1,700 entries in its
  158. call sign analysis database.  By entering a complete call sign, you will
  159. frequently benefit from more precise location information.
  160.  
  161.   Call signs containing "/" may be entered directly from the keyboard;
  162. e.g., FR5ZD/E, KN3T/KH6, HB0/DL7FT and SP9PBE/6.
  163.  
  164.   Once a call sign has been entered, GeoClock displays the following
  165. information:
  166.   a.   a cross "mark" at the location of the station is added to the map.
  167. The location chosen is the most accurate location known to the database.
  168.   b.   the local time at that distance location is added to the bottom
  169. left corner of the screen.  This is the third clock time, labelled "mark:".
  170. This time is continually updated, along with all the other clocks on the
  171. screen.  Rules for local daylight savings (summer) time are applied.
  172.   c.   short and long great circle paths from your location to the
  173. distance "mark" are displayed on the map.  If you look carefully, you will
  174. see the long path has a yellow color.  (On an Equi-Az map, the long path is
  175. obvious: it is the path which crosses the edge of the map.)  In addition,
  176. the left side of the screen shows the following for both short and long
  177. paths:
  178.   -- azimuth (direction) from your location to the mark.
  179.   -- azimuth from the mark to your location.
  180.   -- distance in miles and kilometers.
  181.   d.   on the left side of the screen, additional information about the
  182. call sign is shown:
  183.   -- DXCC country: standard prefix and country name.
  184.   -- WAE country: standard prefix and country name.
  185.   -- area: state, region, or ooblast within the country for this
  186. particular call sign.  For USSR ooblasts, the ooblast number is also shown.
  187.   -- mark: the city or geographical spot which is displayed on the map and
  188. used for distance and bearing calculations.
  189.   -- CQ zone(s) for the area named above.
  190.   -- ITU zone(s) for the area named above.
  191.  
  192.   To erase the information, press the minus (-) key.
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  7.5  Use of other GeoClock features
  201.  
  202.   Most of the GeoClock commands and features described in the other
  203. sections of HELP are available while using the HAM package. In addition to
  204. real time operation, GeoClock can be instructed to operate at other dates
  205. and times, and to operate at accelerated rates.  Distances and great circle
  206. directions can be determined between any locations on the globe.  There are
  207. many commands which allow you to customize the type and style of
  208. information displayed on GeoClock.  You should take time to read the
  209. remaining GeoClock help sections to learn about these additional
  210. capabilities.  These will help you get the most out of your GeoClock
  211. system.
  212.  
  213.    GeoClock also includes many additional maps of the world, polar regions,
  214. continents, oceans, and individual countries.  These additional maps allow
  215. you to zoom in on specific areas on interest in the globe; e.g., twilight
  216. zone crossings of Africa, etc.
  217.  
  218.   While using your custom map and ham features, you can enter these other
  219. GeoClock commands by holding down the SHIFT key while pressing the
  220. appropriate letter.  For example, pressing SHIFT and T (for Time) allows
  221. you to change the date/time used to calculate the displayed day, night, and
  222. twilight zones.
  223.  
  224.   Note:  The SHIFT key must be used.  The CAPS LOCK key and caps-lock
  225. status is ignored.  Any keys pressed without the SHIFT will be interpreted
  226. as characters for a call sign.
  227.  
  228.   GeoClock supports two commands which are specific to ham features.
  229. The HAMDB command specifies the name of the call sign database to be used.
  230. This command should be in the GECONFIG.DAT file. For example,HAMDB HAM.HDB
  231. specifies that HAM.HDB contains the call sign data base.  This database
  232. MUST be in the format produced by GENHAMDB, not in text format.  Only the
  233. first use of HAMDB in a given run has effect - the data base cannot be
  234. changed while GeoClock is executing.
  235.  
  236.   The second command, HAM, specifies that the HAM features are to be
  237. activated.  The best place to this command is in the GEO9009.DAT file
  238. corresponding to your Azimuthal-Equidistant (Azi-Equi) map.  In the current
  239. release of GeoClock, the HAM features may only be used when the Azi-Equi
  240. map is displayed.  NOHAM deactivates the HAM features.
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  7.6  Twilight zone definition
  249.  
  250.   One of the strengths of GeoClock is the ability for you to use the
  251. TWILIGHT and SUNLIGHT commands to determine the boundaries of the day zone,
  252. twilight zone, and night zone. You can set these boundaries to any value
  253. desired.
  254.  
  255.   The value is the offset, in degrees, of the zone boundary from the edge
  256. of the (geometric) sunlight part of the earth.  Typical values of interest
  257. for shortwave operating include:
  258.  
  259. SUNLIGHT   -6.596       Boundary where sun starts/stops illuminating the
  260.                         D-layer.  This controls absorption on the lower
  261.                         frequency shortwave radio bands.
  262. TWILIGHT   -14.165      Boundary where sun starts/stops illuminating the
  263.                         F-layer. These values are based on average D- and
  264.                         F-layer heights.  They define the Ionospheric Gray
  265.                         Line: a twilight zone where shortwave radio signals
  266.                         can pass through the D-layer without absorption. 
  267.                         Within this zone signals will encounter an illuminated
  268.                         F- layer whose ionization level will be normally
  269.                         enhanced over that found in the night zone.
  270.  
  271. Other common values for these commands include:
  272.  
  273. SUNLIGHT   -0.833       Sunset/sunrise at sea level, taking into account the
  274.                         bending of light through the Earth's atmosphere and
  275.                         the apparent width of the sun.
  276. TWILIGHT   -6           Boundary of civil (legal) twilight, where it is bright
  277.                         enough to work outdoors.
  278. TWILIGHT   -12          Boundary of nautical twilight, where it is bright
  279.                         enough to see the horizon.  One can take navigational
  280.                         sightings with a sextant in this zone.
  281. TWILIGHT   -18          Boundary of astronomical twilight, where sunlight on
  282.                         the upper atmosphere interferes with the use of
  283.                         telescopes by astronomers.
  284.   To use the same values for twilight definition on all maps, enter these
  285. commands in the GECONFIG.DAT file.  To specify values for each particular
  286. map, the commands should appear in the GEO*.DAT file (where "*" represents
  287. the map number; e.g., GEO9009.DAT for your custom Equi-Az map).
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  7.7  HAM data base
  296.  
  297.   Analysis of amateur radio call signs is driven by information contained
  298. in the ham database.  The database consists of three files:
  299.   -- HAM42B.DAT:  An ASCII text file containing information described
  300. below.  The "42B" in the name indicates the version number of the database:
  301. "42" indicates that this database was prepared to support GeoClock version
  302. 4.2, and "B" indicates this is the second release of the database for this
  303. GeoClock version.  You may have received a more recent version number.
  304.   -- GENHAMDB.EXE:  An executable utility which converts the ASCII text
  305. file into a binary format used by GeoClock for call sign analysis. Database
  306. validation is also performed by this utility.
  307.   -- HAM.HDB:  The binary format produced by the GENHAMDB.EXE utility
  308. program.
  309.  
  310.                HAM42B.DAT
  311.  
  312.    The text form of the call sign data base consists of lines specifying
  313. key data about a group of call signs. Each line consists of 11 data items:
  314.  
  315. 1. CallPattern - the leading characters of the call sign group. For
  316. example, PY signifies all call signs beginning with the characters PY.
  317.  
  318.   Wildcard characters are used in describing call sign patterns as follows:
  319.   # -- represents any single digit; i.e., 0, 1, 2, ... 9.
  320.   @ -- represents any single alphabetic character; i.e., A, B, ... Z.
  321.   ? -- represents any single character, either alphabetic or numeric.
  322.   * -- represents any string of characters.
  323.  
  324.   For example, PY#Z* represents any call sign beginning with PY, followed
  325. by any single digit, then the letter Z, and then anything else. PY0ZZ would
  326. match this pattern.
  327.  
  328.   All characters are interpreted as upper case.  This file has been created
  329. in lower case.  If you add entries of your own, you may wish to make them
  330. upper case so that you can easily recognize your own additions for future
  331. maintenance and debugging purposes.
  332.  
  333. 2. HamLat - the latitude of the location corresponding to this call sign.
  334. This may be in decimal degrees (-15.146 for 15.146 degrees South), or in
  335. degrees/minutes/seconds ("15 8 45.6S"). If the latter format is used, the
  336. latitude must be enclosed in quote marks.
  337.  
  338. 3. HamLong - the longitude of the location corresponding to this call sign.
  339. This may be in decimal degrees (-15.146 for 15.146 degrees West), or in
  340. degrees/minutes/seconds ("15 8 45.6W"). If the latter format is used, the
  341. latitude must be enclosed in quote marks.
  342.  
  343. 4. HamTimeZone - the time zone code for local time for this call sign
  344. group.  For example, ET stands for US Eastern time.   The time zone
  345. acronyms are defined in the GEOZONES.DAT file.
  346.  
  347. 5. HamCQzone - the CQ zone for this call sign group. If the zone has
  348. imbedded spaces, it must be enclosed in quotes; e.g., "3 4 5".
  349.  
  350. 6. HamITUzone - the ITU zone for this call sign group. If the zone has
  351. imbedded spaces, it must be enclosed in quotes.
  352.  
  353. 7. HamContinent - the continent for this call sign group. NA, SA, AF, EU,
  354. AS, AN, and OC may be used as abbreviations.
  355.  
  356. 8. DXCCprefix - the standard DXCC call sign prefix designation for this
  357. CallPattern.  The DXCC country identification for this CallPattern is
  358. determined by this prefix.
  359.  
  360. 9. AreaName - the name of the area within a country which is covered by
  361. this CallPattern; e.g., state, ooblast, region, or other political
  362. subdivision.  This must be enclosed by quotes.
  363.  
  364. 10. MarkName - the name of the specific place used to represent this call
  365. sign group. Ordinarily this should correspond to the latitude,
  366. longitude,and time zone specified above. If the MarkName is missing,the
  367. Areaname is used.  This must be enclosed by quotes.
  368.  
  369. 11. WAEprefix - the standard WAE call sign prefix designation for this
  370. CallPattern.  The WAE country identification for this CallPattern is
  371. determined by this prefix.  If omitted, it is assumed that the WAE country
  372. is the same as the DXCC country.
  373.  
  374. NOTE -- Items enclosed in quotes must be separated from one another by at
  375. least one space.  All items must be contained on a single line.
  376.  
  377.    Another type of line in the text call sign data base specifies
  378. equivalences in call signs. For example, ZY* =PY* specifies that any call
  379. sign starting with ZY should be treated as if it started with PY; i.e., 
  380. ZY5EG can be processed as if the call was PY5EG.
  381.  
  382.   Through appropriate combinations of "equates" and wildcards, the database
  383. and analysis algorithm is capable of accurately determining the location of
  384. any call sign heard on the air, including special prefixes.
  385.  
  386.   Mobile call signs (K3NA/MM, for instance) will be processed but not
  387. result in a location display on the map, since the exact location of the
  388. station is not predictable in advance.
  389.  
  390.   You may add additional entries to the HAM42B.DAT (or later versions) file
  391. with a simple ASCII file editor, following the conventions outlined above.
  392.  
  393.   Any line beginning with a space in column 1 is interpreted as a comment. 
  394. You can see a typical comment line in the first line of the HAM42B.DAT
  395. file, where columns are named for your convenience.
  396.  
  397.           GENHAMDB
  398.  
  399.   After the HAM42B.DAT file has been modified, it must be converted into a
  400. format which can be processed by the GeoClock program.  The program
  401. GENHAMDB.EXE does this conversion.  To start the program, enter at the DOS
  402. prompt:  GENHAMDB (filename).  Example: GENHAMDB HAM42B.DAT
  403.  
  404.   Conversion processing can take several minutes, depending on the speed of
  405. your computer.  The GENHAMDB utility provides you with a cryptic status of
  406. the current state of the conversion process.
  407.  
  408.   When conversion is completed, GENHAMDB prompts you for a name for the
  409. converted file.  The normal convention is to use the name HAM.HDB.  If you
  410. do not specify a name, GENHAMDB will assume HAM.HDB.
  411.  
  412. NOTE -- GeoClock is initially configured to look for the database under the
  413. name HAM.HDB.  To change this, you must modify the GEO9009.DAT file with an
  414. ASCII file editor.  The command line HAMDB specifies the name of the .HDB
  415. file to use when your custom map is displayed.  For simplicity, you may
  416. wish to always tell GENHAMDB to name its output as HAM.HDB.
  417.  
  418.   After writing the .HDB file to disk, GENHAMDB allows you to test the
  419. database without running GeoClock.  You will be prompted for a call sign.
  420. GENHAMDB takes the call sign given and looks it up in the data base, and
  421. displays the data base entry, including a summary of the equivalences used
  422. in the analysis.  You can test as many call signs as you wish before
  423. exiting the program.
  424.  
  425.   Note -- You will also see other numbers displayed along with the data
  426. base entry.  These other numbers are used by the GeoClock software
  427. developers in order to debug errors.
  428.  
  429.   To exit GENHAMDB, enter an empty call sign (i.e., just press the RETURN
  430. key).
  431.  
  432.   If you wish to conduct further tests on the HAM.HDB file, simple re-enter
  433. GENHAMDB by typing the following command at the DOS prompt:
  434.      GENHAMDB HAM.HDB /D
  435. where "HAM.HDB" is the name of the .HDB binary file to be tested. GENHAMDB
  436. takes note of the "/D" debug switch on the command line, skips the database
  437. construction phase, and prompts you to enter test call signs.
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  7.8  Support
  446.  
  447.    The call sign data base included with the HAM version of GeoClock was
  448. developed by Eric Scace, K3NA.  This is also a copyrighted software
  449. product.  You may use the database for any other software which you have
  450. developed for your personal use (e.g., contesting software, QSL card
  451. processing programs, etc).  However, the database can not be incorporated
  452. into any software product which is sold or distributed as shareware without
  453. prior permission.
  454.  
  455.    Questions, comments, additional data and corrections to the ham database
  456. are welcomed!  These can be sent to Eric via the GeoClock RBBS, or by other
  457. means to:
  458.  
  459.   Eric L. Scace  K3NA
  460.   10701 Five Forks Road
  461.   Frederick MD  21701
  462.  
  463.   home:  +1-301-293-2448
  464.   work:  +1-703-689-6556
  465.   fax:   +1-703-689-5036
  466.   telex: +23-740-0368  ERIC UC
  467.   X400 e-mail:  C:USA  A:Telemail  O:Sprintmail
  468.     FN: Eric  SN: Scace  MI: L.
  469.   amateur radio BBS:  K3NA @K3NA
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  7.9  Call Sign Analysis Algorithm
  478.  
  479.  
  480. Matching Algorithm (ALG-2):
  481. 1.   Use ALG-1 on the input string.
  482. 2.   If input string does not contain a "/", done
  483. 3.   If there was no match, go to step 7
  484. 4.   If the match after the / is exact, done
  485. 5.   If the end string is /A, /M, or /P, done
  486. 6.   If the end string is a single numeric, replace the first non-leading
  487. numeric in the string before the /. If ALG-1 produces a match, done.
  488. 7.   If the string exactly matches one of the */ entries, use that entry
  489. 8.   Use the shorter of the strings before and after the / (after if equal) 
  490.     and apply ALG-1
  491.  
  492. ALG-1:
  493. 1.   Find the most stringent straight match on the input string
  494. 2.   Find the most stringent equate match. If none, go to 4
  495. 3.   Make the substitutions, and find the most stringent straight match
  496. (Can be done recursively up to a maximum limit.)
  497. 4.   If only one match was found, done
  498. 5.   If both a straight and substitution match were found, use the more
  499. stringent.
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.